Self-assembly of thermoresponsive nanocomposites and their applications for sensing daunorubicin with DNA