Metamorphism and hydrothermal alteration of the Homestake gold-bearing formation