Contact electrification and the interaction force between a micrometer-size polystyrene sphere and a graphite surface