The ductile-brittle transition in polycrystalline tungsten