The structure of sunspots