Phase reconfiguration of multivalent nickel sulfides in hydrogen evolution