Empirical constraints on source properties and host galaxies of cosmological gamma-ray bursts