Superconductivity with high hardness in Mo3C2