how rock formations are formed