Conformational control of energy transfer: a mechanism for biocompatible nanocrystal-based sensors.