Tridiagonal fourth order approximations to general two-point nonlinear boundary value problems with mixed boundary conditions