One‐pot synthesis of polyfunctionally substituted 2,3‐dihydrothiazoles and thiazolidinones