Finite-element solutions for a cracked two-layered elastic cylinder