A Unified Approach for Pricing Contingent Claims on Multiple Term Structures