Beyond Isolated Capabilities: Bridging Long CoT Reasoning and Long-Context Understanding