Quality-related locally weighted soft sensing for non-stationary processes by a supervised Bayesian network with latent variables