Influence of cross-linking functionality on the nonlinear optical properties of poled and cross-linked polymer films.