Poly(3-hydroxyoctanoate) containing pendant carboxylic groups for the preparation of nanoparticles aimed at drug transport and release