Scott McTominay struck twice in stoppage time as Manchester United fought back to claim the three points against Brentford.