X-Ray Circular Magnetic Dichroism (XCMD) as a Probe of the Dynamics of the Spin Reorientation Transitions in Nd2Fe14B and Er2Fe14B Systems