Exact penalty functions and Lagrange multipliers