Peirce's Account of Purposefulness: A Kantian Perspective