Verstappen beats Hamilton for pole ahead of F1 season finale