Measurements of surface and bulk radiation damage effects in silicon detectors for Phase-2 CMS Outer Tracker