Adsorption-induced bending of a triatomic molecule: Near-edge x-ray absorption fine-structure spectroscopy investigation of N2O adsorbed on different Ni(111) surfaces.