Efficient calculation of two-dimensional periodic and waveguide acoustic Green's functions.