Female transfer and inbreeding avoidance in social mammals