Conformational dependence of energy transfer rate between photochromic molecule and fluorescent dye