Solubility of water and other volatiles in aluminosilicate melts