Synthesis and photoluminescence properties of ZnO nanowires and nanorods by thermal oxidation of Zn precursors