Magnetohydrodynamic simulations of the effects of the solar wind on the Jovian magnetosphere