Magnetization-induced second harmonic generation of light by exchange-coupled magnetic layers