Rare January hurricane weakens to tropical storm after hitting Azores