Thermal performance of outer and inner multi-layered walls in buildings