ac susceptibility investigation of vortex dynamics in nearly optimally doped RFeAsO1−xFx superconductors (R = La, Ce, Sm)