Optimization of extracellular production of PHA