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