Mechanistic aspects of the interaction between selenium and arsenic