Substituted phthalocyanine gas sensors