What specific restrictions were put in place to limit the civil rights of African Americans following the Civil War?