Synthesis of novel β-cyclodextrin functionalized S, N codoped carbon dots for selective detection of testosterone.