Solar wind interaction with the Earth's magnetic field: 2. Magnetohydrodynamic bow shock