A class of continuously differentiable exact penalty function algorithms for nonlinear programming problems