Detection in capillary electrophoresis