Toric varieties, lattice points and Dedekind sums