Force commutated direct AC-DC converter with control of input power factor