P-type electrical contacts for 2D transition-metal dichalcogenides