Hurricane Beryl hits Mexican coast