Humans exploit the biomechanics of bipedal gait during visually guided walking over rough terrain