Genetic contributions to behavioural diversity at the gene–environment interface