laws that denied most legal rights to newly freed slaves and prohibited blacks from voting, sitting on juries, or even appearing in public places after the civil war were known as