A study of the structural and magnetic properties of nitrides of iron and nickel (XN; X = Fe, Ni) using density functional theory approach