Novak Djokovic and Rafael Nadal will meet for the 36th time after easy victories in the quarter-finals of the Montreal Masters.