Bacterial polyester nanoparticles for drug delivery