Nanotrapping and the thermodynamics of optical tweezers