Recovering the composition of melt and the fl uid regime at the onset of crustal anatexis and S-type granite formation