Energy-efficient readout of resonant sensors