Breakthrough could lead to single molecular systems for both diagnosing and treating cancer in real time