Lanthanide Complexes for Nonlinear Optics: From Fundamental Aspects to Applications