Second-harmonic free induction decay in a two-level spin system