Exact analytic solution of a mathematical model for chromatographic operations