OPTIMIZATION OF CONSTRUCTIONAL DESIGN OF EXTERNAL MASONRY WALLS IN TERMS OF MINIMIZATION OF ENERGY CONSUMPTION AND AIR POLLUTION REDUCTION