Efficient interpolation of mixed-potential periodic green’s functions in layered media