The Phase-2 Upgrade of the CMS Barrel Calorimeters Technical Design Report