Efficient calculation of 1-D periodic Green's functions for leaky-wave applications