Probing hydrogen bonding in solids using solid state NMR spectroscopy