Former Manchester United manager Erik ten Hag says he wishes the club's fans "nothing but success, trophies and glory" following his sacking on Monday.