DNA as a functional molecule for control of nanomaterial morphology and for biosensing