Functional nucleic acids for cancer theranostics