An R package for model-based analysis of distance sampling data