If the temperature or pressure of a new environment is different from the one in which a rock forms, the rock will undergo