Compression of interstellar clouds in spiral density-wave shocks