Dancing On Ice professional skater Mark Hanretty has announced his departure from the show after 12 years.