How can a river be part of the rock cycle?