Improving optical measurements, online monitoring, growth modeling, and automated control in microalgae production of Phaeodactylum tricornutum