Characterisation of a bioassay using the marine alga Dunaliella tertiolecta associated with spectroscopic (visible and infrared) detection