Spectral and scattering properties at thresholds for the Laplacian in a half-space with a periodic boundary condition