Antioxidant allocation modulates sperm quality across changing social environments