Primitive before Primitivism: Medieval and African Art in the 19th century