Power factor correction technologies for power supplies