Self-organized Bi lines on the Si(001) surface: A theoretical study