Katia weakens to tropical storm, to strengthen