Hurricane John hits Mexico with heavy rain, strong winds