University of California researchers build robots to determine when to water crops