On the behaviour of the IR CA II triplet in normal and active galaxies