The elastic field of periodic dislocation networks