Necessary optimality conditions for nondifferentiable extremum problems with equality constraints