Propagation of shock-wave/boundary-layer interaction unsteadiness in attached and separated flows