X-ray near-edge structure analysis of ZnSe, ZnMnSe and ZnFeSe: experimental and theoretical studies