Live-cell transforms between Ca2+ transients and FRET responses for a troponin-C-based Ca2+ sensor.