Neutron diffraction study of polycrystalline 4He in a porous medium