what is compaction in the rock cycle