Three empirical essays on the historical development of cities