Villagers in southwestern China learn to live with elephants