Software beats animal tests at predicting toxicity of chemicals