Applications of nanotechnology in medicine