Pheromone-based female mate choice and its effect on reproductive investment in a spitting spider