Current sensorless solution for PFC boost converter operating both in DCM and CCM