Hurricane Nadine takes shape in Atlantic