Linear optical properties of NLO polymers