Rain warning for Wales after Hurricane Erin moves across Atlantic