Thiago to quit Barcelona for Man Utd