How do single-phase mid-energy meters ensure data integrity and prevent errors or manipulation in metering for accurate billing?