Elasticity, electronic properties and hardness of MoC investigated by first principles calculations