Rocks which have been formed by the cooling and solidification of molten magma are called