oxidoreductase activity, acting on the CH-NH group of donors, NAD or NADP as acceptor