Hurricane Nicole weakens to a tropical storm, U.S. NHC says