Green synthesis of nanomaterials from sustainable materials for biosensors and drug delivery