Researchers develop robot leg that learns to walk by itself