Kinetics of Cr3+ to Cr4+ ion valence transformations and intra-lattice cation exchange of Cr4+ in Cr,Ca:YAG ceramics used as laser gain and passive Q-switching media