Towering figure in religious studies remembered as ‘one of the most important theologians of his generation’