Along with provinces what type of states did the Ottoman empire have control over?