The mechanism of catalysis by type-II NADH:quinone oxidoreductases