To be published with Cambridge University Press. Draft (apparently final) downloaded from http://www.math.umn.edu/~webb/RepBook/ (preliminary version 2 Jan 2016)