Theoretical comparison of electron energy‐loss and x‐ray absorption near‐edge fine structure of the Si L2,3 edge