A class of adaptive importance sampling weighted EM algorithms for efficient and robust posterior and predictive simulation