Relationship between the area of L2,3 x‐ray absorption edge resonances and the d orbital occupancy in compounds of platinum and iridium