Charging by Quantum Measurement