The Nazis studied US race laws for inspiration when writing their own racial purity codes