Deposition and characterization of extrinsically doped p type n type zno thin films and its fabrication of p n junction thermoelectric generator