DC/AC true sine wave inverters with UPS function