Thermoreversible gels of acid doped polyaniline : Electrical switching based on network transitions