Analysis of the role played by ligand-induced folding of the cocaine-binding aptamer in the photochrome aptamer switch assay.