Systematic Investigations on 1,2,3-Triazole-Based Compounds Capable of Second Harmonic Generation