Genotype–environment interaction and the reliability of mating signals