Studying DNA–protein interactions with single-molecule Förster resonance energy transfer