Reaction of nitriles under acidic conditions. Part III. A facile synthesis of thienopyrimidin-4(3H)-ones