From Small Molecules To Polymers: Linear And Nonlinear Optical Properties Of Organic Conjugated Systems For Solar Applications