Angel Di Maria scored a hat trick as Juventus reached the Europa League last 16 after beating Nantes, while Jose Mourinho's Roma also progressed through the play-off round.