Density-dependent aggression, courtship, and sex ratio in a fishing spider