A New Methodological Approach to Quality Assurance of Energy Meters Under Nonsinusoidal Conditions