On the Stochastic Theory of Compartments: The General Time-Dependent Two-Compartment Reversible System with an Application to Manpower Planning