Cooling element and method for manufacturing the same