Halogen sensing using thin films of crosswise-substituted phthalocyanines