Principles of discrete time mechanics: III. Quantum field theory