Chelate synthesis of 8-diaminomethylene-5,6,7,8-tetrahydroquinazoline-7-one derivatives