genieR: An R package for inference of demographic history of phylogenies