Surface studies by optical second-harmonic generation: The adsorption of O2, CO, and sodium on the Rh(111) surface