Tuning the Schottky barrier heights at MoS$_{2}$$\mid$metal contacts: a first-principles study