In 1840, about how many African-Americans lived in New York City