A numerical study of the seismic response of arched and vaulted structures made of isotropic or composite materials