Preparation of substituted quinazoline derivatives as DNA methyltransferase inhibitors