Development of fluorescent nanosensors for real-time biological assays