Electrical Conductivity of Neutron Star Cores and Evolution of Internal Magnetic Fields