Deformation and metamorphism in convergent orogens: a model for uplift and exhumation of metamorphic terrains