Toxicity and tolerance in the responses of plants to metals