Deep neural networks algorithms for stochastic control problems on finite horizon, part I: convergence analysis