Conversion of dc power input into ac power output without possibility of reversal