Study of the L2,3 edges of 3d transition metals by X-ray absorption spectroscopy