Photonic Generation and Transmission of Triangular and Square Waveforms With a Large Repetition Rate Tunable Range