Electrostatic charges on dislocations in uranium dioxide