Dynamical atomic charges: The case of ABO(3) compounds