Impedance theory of wave propagation on infinite periodic structures