Optical Methods to Study Protein-DNA Interactions in Vitro and in Living Cells at the Single-Molecule Level