Selective metal electrodeposition through doping modulation of semiconductor surfaces