US baker Flowers Foods has changed its forecast for annual earnings, pointing to "heightened" competition and "challenging" trading conditions.