An energy-efficient readout circuit for resonant sensors based on ring-down measurement