uninterruptible power supply circuit diagram