An analysis of front tracking for chromatography