Electronic circuit that generates an output signal whose output frequency is a harmonic of its input frequency