Near‐edge x‐ray absorption fine structure study of bonding modifications in BN thin films by ion implantation