Understanding the Effects of RLHF on LLM Generalisation and Diversity