From CeO2 nanotubes to nanowires through electrogeneration of base