Geology of Magmatic and Hydrothermal Ore Deposits