Analysis of alkaloids by capillary electrophoresis