US baker Flowers Foods has reported a slight lift in third-quarter earnings, which were boosted by "solid" sales gains.