Generalized oscillatory integrals and Fourier integral operators