Magnitude 6.0 earthquake hits off coast of Mexico