A nanofluidic device for single molecule studies with in situ control of environmental solution conditions.