The Phase-2 Upgrade of the CMS Muon Detectors