Mechanical modeling of bend sensors exploited to measure human joint movements