On the evaluation of certain p-adic integrals