Stability, elastic and magnetostrictive properties of γ-Fe4C and its derivatives from first principles theory