Use of compounds or compositions for colorimetric, spectrophotometric or fluorometric investigation