A family of three-point methods of Ostrowski’s type for solving nonlinear equations