A simple spin echo measurement of the anisotropy of the self-diffusion coefficient in a smectic A and B type liquid crystal