WD-40 Co. posts Q3 gains