A uniform asymptotic evaluation of integrals