San Francisco skyscraper wired to measure tremors could lead to improved seismic codes