Magnetic XANES of circularly polarized X-ray absorption on Fe and Ni metals and Nd2Fe14B compound