On the steady solitary-wave solution of the Green–Naghdi equations of different levels