The iterated auxiliary particle filter and applications to state space models and diffusion processes.