Nonlinear programming via an exact penalty function: Asymptotic analysis