How does heat and pressure affect metamorphic rocks?