Mature male elephants play a crucial role in passing on their knowledge to younger males, a study suggests.