An estimated 30 percent of the planet’s food supply is needlessly discarded. Here are some imaginative ideas to stop the rot.