African elephants use dozens of different medicinal plants to treat themselves and their families when they are sick, research reveals.