Design and simulation of a novel hybrid leg mechanism for walking machines