Structural, electronic and elastic properties of M2SC (M = Ti, Zr, Hf) compounds