Shape Optimization, Isoperimetric and Functional Inequalities