At least 39 people have been killed after two high-speed trains collided near Urda, Spain.