Switched-capacitor self-oscillating capacitance transducers with duty-cycle or digital output