Higher-order likelihood-based inference in nonlinear regression