Trace element fractionation in water-bearing silicic magmas