The war in Ukraine is exacerbating the global hunger crisis, U.N. officials say.