Earthquake hits Mexico's Pacific coast