The lifespans of ancient civilisations