Dynamic Processes in the Line Shift and Linewidth of CaF₂ and CsCdBr₃ Doped with Er³⁺