Stochastic quantization in phase space