What type of rock formation could result from slow cooling and solidification of magma beneath Earth's surface?