Hurricane Beryl strengthens to Category 3 storm