Selection and design of inverter output filters for UPS systems