how is a rock different from a mineral?​