Theoretical study on electronic and optical properties of zinc oxide for photonic applications