Neutron incoherent scattering law for diffusion in a cosine potential in one dimension: Application to self-diffusion in smectic phases