Optical properties of high-pressure fluid hydrogen across molecular dissociation