Inverse scattering transforms and solutions for the focusing and defocusing mKdV equations with non-zero boundary conditions