What is the similarities of metamorphic and sedimentary rocks?​