Electronic Level Scheme in Boron- and Phosphorus-Doped Silicon Nanowires