Analytical Model of the Discharge Transient in Pulsed-Reset Charge-Sensitive Amplifiers