Volatiles in magmas