Numerical study of a class of variable order nonlinear fractional differential equation in terms of Bernstein polynomials