The influence of chlorine on the electrical properties of lead phthalocyanine thin film gas sensors