Vapor segregation and loss in basaltic melts