Alpha and 8Be cluster amplitudes and core excitations in s-d shell nuclei