Sequential capillary electrophoresis analysis using optically gated sample injection and UV/vis detection