PdCl2–Polyaniline Composite for CO Detection Applications: Electrical and Optical Response