Interacting Particle Systems on Networks: joint inference of the network and the interaction kernel