Multi-peak periodic semiclassical states for a class of nonlinear Schrödinger equations