Novel pH-sensitive films constructed from polypyrrole composites