Mechanisms of fluid degassing in shallow magma chambers control the formation of porphyry deposits | Synapse