The ALICE Transition Radiation Detector: Construction, operation, and performance