The structure of the sd-shell nuclei (I). C18, F18, O19, F19 and Ne20