Earthquake of magnitude 8 strikes off Mexico's Pacific coast