A paper prepared for the Bulletin of the New Zealand Society for Earthquake Engineering, Vol. 44, no. 4, December 2011.