Understanding and improving the metal-semiconductor interface of 2D MoS2-based Schottky junctions