Thorntons has booked an 8% drop in half-year sales on the back of "challenges" with some retail customers.