New limits on hidden photons from past electron beam dumps