Complex refractive index of grain material deduced from the visible polarimetry of comet P/Halley