A truncated Floquet wave diffraction method for the full wave analysis of large phased arrays. I. Basic principles and 2-D cases