Pure fluids of homonuclear and heteronuclear square-well diatomics I. Computer simulation study