Atomic charges from atomic polar tensors: A comparison of methods