UK soft drinks maker AG Barr has warned that full-year profits will come in flat after bad weather contributed to a below-par first-half performance.