and gate circuit using diode