Markoff chains, Wiener integrals, and quantum theory