Yup, 2d8 for a 1st level slot +1d8 for hitting undead. Two each for having two spells. So we could theoretically add up to 12d8, provided we survive long enough to get two hits each. And that weapons perhaps ineffectively passing through ghosts counts as hitting them with a melee attack to activate smite evil.