Technical Design Report for the Upgrade of the ALICE Inner Tracking System