Necessary and sufficient condition for additivity in the sense of the Palmgren–Miner rule