Class E rectifier using switch-controlled capacitor