Hurricane Erick strengthens to a Category 3 storm as it nears Mexico’s Pacific coast