Prosthetic leg can 'change gears' to make going up stairs easier