Structural and spectroscopic characteristics of ZnO and ZnO:Er3+ nanostructures