Nitrogen-15 nuclear magnetic resonance spectroscopy of adsorbed molecules