Magnetohydrodynamic-hypersonic viscous and inviscid flow near the stagnation point of a blunt body