Remarks on Fritz John conditions for problems with inequality and equality constraints