UK chocolate manufacturer and retailer Thorntons has reported half-year profits ahead of market expectations.