Electrochemical nanomachining