A dipole polarizable potential for reduced and doped CeO2 obtained from first principles