Metasomatism and the Chemical Transformation of Rock: The Role of Fluids in Terrestrial and Extraterrestrial Processes