An R package for fitting species abundance distributions