Molecular formulas of organic compounds: the nitrogen rule and degree of unsaturation