Crystallization and its effect on the mechanical properties of a medium chain length polyhydroxyalkanoate.