Nutritional stress induces exchange of cell material and energetic coupling between bacterial species