Gamma-ray burst groups observed by BATSE, Beppo-Sax and Swift