The idea of the good in Kant and Hegel