A one-pot synthesis of functionalized ethyl 1,3-thiazole-5-carboxylates from thioamides or thioureas and 2-chloro-1,3-dicarbonyl compounds in an ionic liquid