Electrical characteristics of Au-PbPc-Au thin film sandwich devices on exposure to O2 and Cl2