Optics of cosmic dust