Approximations for functionals and optimal control problems on jump diffusion processes