Synthesis and characterization of undoped and Er-doped ZnO nano-structure thin films deposited by sol-gel spin coating technique