White House Communications Director Anthony Scaramucci has been fired after fewer than 11 days in the post.