Quantum mechanics and stochastic control theory