A study of the electronic structure of FeSe1 − xTex chalcogenides by Fe and Se K-edge x-ray absorption near edge structure measurements