Sam strengthens to a hurricane as rapid intensification is f