Modelling, implementation and validation of polymeric planar spring mechanisms