Bayesian networks applied to ESP performance monitoring and forecasting