Farmers and scientists have joined forces to restore the habitat of threatened birds in the Sacramento Valley of California.