TUCSON — Indigenous peoples have known for millennia to plant under the shade of the mesquite and paloverde trees that mark the Sonoran Desert here, shielding their crops from the intense sun and reducing the amount of water needed.