Temperature-dependent controlled preparation of ZnO nanostructures and their photoluminescence properties