Comparison between extended x-ray-absorption and extended electron energy-loss fine-structure results above the M2,3 edge of cobalt