classifiion of mineral according the process of formation