Linear optical properties of frequency doubling polymers