Chromatic transit light curves of disintegrating rocky planets