Diffusion potentials in BaTiO3 and the theory of ptc materials