Effect of bond length alternation and of bond length alternation oscillations on the molecular nonlinear optical response of push-pull polyenes