On nonlinear generation of second harmonic and sum and difference frequencies in a homogeneous plasma