Anhydrous CoCl2 is blue; CoCl2•6H2O is red. When CoCl2•6H2O is heated and water is clearly being driven off, it becomes uniformly violet before turning blue. How can this be explained?