Factors Controlling Degradation of Biologically Relevant Synthetic Polymers in Solution and Solid State.