Mos logic circuit