How does a single-phase MID energy meter function in a household electrical system?