Spectrum of a singularly perturbed periodic thin waveguide