Optical dephasing of impurities in glasses at low temperatures