In-Group Love and Out-Group Hate in Repeated Interaction Between Groups