A Necessary and Sufficient Condition for the Convergence of Certain Iterative Methods for Nonlinear Equations