A comparison between polarimetric properties of cometary dust and interplanetary dust particles