Changes in microbial community structure during adaptation towards polyhydroxyalkanoates production.