what are causes and effects of the civil war?