Fabrication and characterization of potassium-doped ZnO thin films