Path integrals for waves in random media