Synthesis of ZnO three-dimensional architectures and their optical properties