Territorial cooperation and social monogamy: factors affecting intersexual behaviours in pair-living snapping shrimp