Expert System for damage assessment of buildings in seismic areas