Comparative analysis of acceleration techniques for 2-D and 3-D Green’s functions in periodic structures along one and two directions