Ab initio calculation of Hubbard parameters for Rydberg-dressed atoms in a one-dimensional optical lattice