UK soft drinks group AG Barr has reported a 21% increase in third quarter sales, boosted by a strong performance in its core business.