How did the Emancipation Proclamation change the course of the civil war?