Forward simulation of adaptive evolution of a quantitative trait