Characteristics of a magnetogasdynamic diffuser under different modes of electric current switching