How to save Africa’s elephants, according to game theory