Modes of periodic waveguides.