Substance and causality in the philosophies of John Locke and Immanuel Kant: a critical and comparative study