Bayesian statistics and single-molecule trajectories