Fulham boss Mark Hughes has resigned after less than a year in charge at the English Premier League club.