Juventus reached the quarter-finals of the Champions League for only the second time in four years after a 1-0 win over 10-man Porto gave them a 3-0 aggregate victory.