Measurement of Hubble constant with stellar-mass binary black holes