Efficient Estimation of Jump Diffusions and General Dynamic Models with a Continuum of Moment Conditions