Conagra Brands swings to quarterly profit on higher prices