On the interaction between shock waves and boundary layers