A metabolic approach to study algal–bacterial interactions in changing environments