Effect of confinement on shock wave-boundary layer interactions