Spain have named their final 23-man World Cup squad, and Atletico Madrid striker Diego Costa has been included.