Evolution of an Impact-Generated H2O–CO2 Atmosphere and Formation of a Hot Proto-Ocean on Earth