definition of an ore