Calibration of a hydrogen bubble chamber as a spectrometer for low momentum electrons