Numerics of the lattice boltzmann method on nonuniform grids: Standard LBM and finite-difference LBM