Viscoelastic properties of linseed oil-based medium chain length poly(hydroxyalkanoate) films: effects of epoxidation and curing.