Nanoencapsulation for drug delivery