Electrochemical nanostructuring