Restructured PtNi on ultrathin nickel hydroxide for enhanced performance in hydrogen evolution and methanol oxidation