Harmonic perturbations with delay of periodic separated variables differential equations