The extragalactic distance scale and the Hubble constant