Electro-optic directed AND/NAND logic circuit based on two parallel microring resonators