properties of nand and nor gates