the layers of the core mainly composed of molten iron and nickel​