Bayesian 4DVAR: An extension to weak constraint 4DVAR data assimilation