The structure of clean crystalline surfaces and chemisorbed overlayers