Epistemic Transitions in Islamic Philosophy, Theology and Science