Fabrication of nanopatterned metal layers on silicon by nanoindentation/nanoscratching and electrodeposition