Stress state of layered hollow cylinders with irregularly shaped cross-section