Direct-Connected Three-Phase Multifunction Energy Meter for Smart Power Measurement