Two earthquakes jolted the country several hours apart, authorities said, but there were no immediate reports of injuries or major damage.