The structure of silicon surfaces from (001) to (111)