Teddy strengthens into Category 2 hurricane