Synthesis of 2,2,4-trisubstituted-1,2-dihydroquinazolines