The transport of heat and matter by fluids during metamorphism