Wallabies prop Smith retires from rugby