The warmer the air, the less dense it is. Higher humidity further decreases the air's density. It makes sense that the less dense the air, the lower the resistance it would give to a struck ball allowing it to travel farther but I don't know for sure.