What event decimated urban populations in the 13th century