Efficient photoinduced second-harmonic generation in silicon nitride photonics