The structures and vibrational frequencies of the NNO analogs NPO and PNO and their protonated forms