Energetics of bacterial growth: balance of anabolic and catabolic reactions