Tandem Adjoint Level Set Topology and Shape Optimization for 2 D and 3 D Internal Flows