The simultaneous use of chemical tracers in oceanic studies I.General theory of reservoir models