Real-time estimation of fundamental frequency and harmonics for active power filters applications in aircraft electrical systems