A study of one dimensional nonlinear diffusion equations by Bernstein polynomial based differential quadrature method