UK chocolatier Thorntons has moved to a full-year profit driven by its recent store closures and strong growth of its sales via supermarkets.