bamr: Bayesian analysis of mass and radius observations