Manchester United have completed the signings of Noussair Mazraoui and Matthijs de Ligt from Bayern Munich.