Gait analysis of EP-WAR2 biped robot for walking and climbing stairs