The host galaxies and possible progenitors of fast radio bursts