How did the outcome of the civil war change the distribution of power and authority between the united states and the state governments?.