Metal-assisted chemical etching of semiconductor nanostructures for electronic applications