Kant and the metaphysics of causality