Continuous-time quantum Monte Carlo for fermion-boson lattice models: Improved bosonic estimators and application to the Holstein model