An efficient synthesis of substituted thiazolidin-4-one derivatives via pyrazole carbothiamides