The r package divDyn for quantifying diversity dynamics using fossil sampling data