What type of rock is formed by compacted and cemented layers of sediment?