Geometric optimization of C-shaped cavities according to Bejan’s theory: general review and comparative study