FRET measurements of trapped oligonucleotide duplexes