MADRID — Two earthquakes struck within two hours of each other in southeast Spain on Wednesday, killing at least eight people, injuring scores more and severely damaging some buildings.