Man Utd claim a morale-boosting pre-season win over Barcelona