Structural principle of nickel-metal hydride battery