Generating ultradense pair beams using 400 GeV/c protons