At least 10 people were killed when two high-speed trains crashed into each other in central Spain on Wednesday, officials in the country said.