Chile's seismic code upgrades credited with saving lives in 2010 quake