Civic and municipal leadership: a study of three northern towns between 1832 and 1867