Ab initio energetics of CVD growth reactions on the three low-index surfaces of diamond