The chemomechanical properties of microbial polyhydroxyalkanoates