Selection and evolutionary potential of immune defence: from phenotypic traits to gene expression