Spherical and Anisotropic Core‐Shell and Alloy Nanomaterials: Characterization Using X‐Ray Absorption Spectroscopy