what would happen if a sedimentary rock get exposed to high temperatures and presure