what is the difference between sinewave inverter and squarewave inverter