Transformerless buck-boost converter