Frequency up-conversion of s-triazine derivatives via two photon absorption and second-harmonic generation