Distance-Redshift Relations for Universes with Some Intergalactic Medium