Soft drinks group AG Barr has predicted a drop in profits in the first half of the year because of rising costs and bad weather.