Explain how positive and negative electrostatic charges are produced on materials by the loss and gain of electrons