Correlating 3D atomic defects and electronic properties of 2D transition metal dichalcogenides with picometer precision