Microbial transformation of elements: the case of arsenic and selenium