Fictitious domain methods with distributed Lagrange multipliers. Part II: Application to the solution of shape optimization problems.