Deterministic Trajectory Optimization through Probabilistic Optimal Control