Automatic Generation of Quadrature Formulae for Oscillatory Integrals