Surface lattice resonances in waveguiding structures