Statistical mechanics of helical wormlike chains. X. Dipole moments, electric birefringence, and electric dichroism