Flux- and volume-limited groups/clusters for the SDSS galaxies: catalogues and mass estimation