Trajectory matching and Bayesian parametrisation to construct coarse-grained force field for polymer systems