A Unified Temporal Knowledge Graph Reasoning Model Towards Interpolation and Extrapolation