Analysis of stability, waveform invariance, and non-reciprocity in nonlinear periodic structures