Ronaldo hat-trick lifts Juventus to Champions League quarters