Slavery, racial inequality, and education