The role of foundations in structural seismic risk assessment