Tridimensional ionic polymer metal composites: optimization of the manufacturing techniques