Infrared studies of reactions on oxide surfaces. 7. Mechanism of the adsorption of water and ammonia on dehydroxylated silica