Single-phase electronic energy meter