Linear and third order nonlinear optical properties of one-dimensional organometallic systems