Water in granite and pegmatite-forming melts