Drug-DNA complexation as the key factor in photosensitized thymine dimerization