Top-ranked Novak Djokovic beats Jeremy Chardy to reach Montreal final