Systematic approach to developing empirical interatomic potentials for III–N semiconductors