Reconstructing geographic range-size dynamics from fossil data