What does the separation of powers doctrine entail and why does this doctrine exists in a constitutional state?