Describe two environments in which minerals form. List a mineral that is formed in each environment