Trajectory Optimization for Adaptive Informative Path Planning with Multimodal Sensing