Time, frequency, and z-domain modified nodal analysis of switched-capacitor networks