An efficient genetic-dynamic programming procedure to design Bayesian control charts