In the rock cycle, what happens to the melted rock?