Charles visits flood-hit South Wales