Correlation functions between specific volume and stoichiometry for transition metal nitrides