Seismic upgrading of masonry churches