Modelling the seismic response of unreinforced existing masonry buildings: a critical review of some models proposed by codes