PepsiCo has posted a slight rise in full-year 2017 group sales but beverages remained under pressure as volumes slid globally and in North America.