Production of polyhydroxyalkanoate nanoparticles using a green solvent