Melissa strengthens into hurricane, cutting slow path to Jamaica