Nanofabrication of electrode arrays by electron-beam and nanoimprint lithographies.