Excitation energy transfer between J-aggregates of cyanine dyes arranged in a layer structure