Magma solidifies into what type of rock?