Structural, Electrical, and Optical Effects of Metal Doping on ZnO Thin Films