Two earthquakes in Spain kill 10, injure dozens