Improving contacts and doping to two-dimensional transition metal dichalcogenides