Gas and vapour detection using polypyrrole