Degradation mechanism and way of surface protection of nickel nanostructures