Learning to distinguish between predators and non-predators: understanding the critical role of diet cues and predator odours in generalisation