First-principles analysis of MoS2/Ti2C and MoS2/Ti2CY2 (Y = F and OH) all-2D semiconductor/metal contacts