Carlsberg has warned that it will be forced to raise beer prices in most of its markets due to higher-than-expected barley costs.