Tropical Storm Nicole strengthens to tropical storm en route to Bahamas