An overview of electron and ion beam effects in charging and discharging to spacecraft