A monotone method for constructing extremal solutions of second order scalar boundary value problems