how is a mineral different from an ore