Piezoresistive device optimization using topological derivative concepts