A highly sensitive perovskite oxide sensor for detection of p-phenylenediamine in hair dyes.