Distinct magma evolution processes control the formation of porphyry Cu–Au deposits in thin and thick arcs