mineral and non metal difference