Measured total cross sections of slow neutrons scattered by solid deuterium and implications for ultracold neutron sources.