An understanding of the X-ray absorption near-edge structure of copper(II) imidazole complexes