A two-input tri-state converter for spacecraft power conditioning