The effect of self-interaction error on electrostatic dipoles calculated using density functional theory.