A computer-aided experimental setup for studying sorption kinetics