Kant's doctrine of right and philosophy of history