Mass loss from red giants