Atom vibrations on clean and doped (111) silicon surface and on clean (110) GaAs surface