Synthesis of CuO and Cu2O crystalline nanowires using Cu(OH)2 nanowire templates