Synthesis, structures, and physical properties of copper(II)-gadolinium(III) complexes combining ferromagnetic coupling and quadratic nonlinear optical properties.