Guiding Trajectory Optimization by Demonstrated Distributions