FRET characterization of protein ensembles and protein-ligand binding