Elaboration of ZnO nanowires by solution based method, characterization and solar cell applications