Using a system of sensors and speakers, researchers in California are exploiting elephants' natural survival instincts to stop them encroaching on farms and villages in India.