Josip Juraj Strossmayer (1815–1905), Theologie