Periodic effective potentials for spin systems and new exact solutions of the one-dimensional Schrödinger equation for the energy bands