Numerical simulation of shock/shock and shock-wave/boundary-layer interactions in hypersonic flows