The soft drinks company has experienced headwinds from poor summer weather to a more health-conscious consumer