Study of the thermal conversion of semi-insulating GaAs:Cr with cathodoluminescence, photoluminescence, and secondary ion mass spectrometry