Study of the magnetic and electronic properties of nanocrystalline PrCo3 by neutron powder diffraction and density functional theory