Chlorine sensing properties of porphyrin thin films