Neutron diffusion in uranium dioxide I. Spatial and energy distributions