Effects of biocides on processes underlying resistance evolution