Analysis of ergot alkaloids in flour