A Mixture-Based Framework for Guiding Diffusion Models