Electric dipole moments of lithium atoms in Rydberg states