Axisymmetric indentation of a rigid cylinder on a layered compressible and incompressible halfspace