From Magnetic to Nonlinear Optical Switches in Spin‐Crossover Complexes