Cross-linked stable second-order nonlinear optical polymer by photochemical reaction