Theory of the modified two-stream instability in a magnetoplasmadynamic thruster