Marine diatoms as optical chemical sensors