Reactions of 3-hydroxy-1,2-dihydroquinazolin-4-ones with acid chlorides