Topology and shape optimization of dissipative and hybrid mufflers