Path integrals in quantum mechanics, statistics, polymer physics, and financial markets