Stability analysis of a novel biped walking and climbing robot