Belief Propagation approach to epidemics prediction on networks