Formation of Cu–Au porphyry deposits: hydraulic quartz veins, magmatic processes and constraints from chlorine