A photonic-assisted periodic triangular-shaped pulses generator based on FWM effect in an SOA