Dynamic balance and walking control of planar bipeds