Applications of nanomaterials in modern medicine