Learning algorithms estimate pose and detect motor anomalies in flies exposed to minimal doses of a toxicant