THERMAL COMFORT AND ENERGY PERFORMANCE OF RESIDENTIAL BUILDINGS