The chemical composition of vein minerals and the nature of ore forming fluids