Predicting magnetostriction of MFe3N (M = Fe, Mn, Ir, Os, Pd, Rh) from ab initio calculations