Sunderland have sacked manager Martin O'Neill following the club's recent poor form in the Premier League.