Male alliance behaviour and mating access varies with habitat in a dolphin social network