Application of pulse-shape discrimination to improve the precision of the carbon-14 gas-proportional-counting method