The average cost of a box of tampons in the U.S. rose 9.8% in the year through May 28, according to NielsenIQ, and 8.3% for a box of pads.