Characterization of multifunction meters based on integrated devices in the presence of harmonic distortion