Optimal design of a non-isolated high power density buck-boost converter