Non-parametric estimation of the spiking rate in systems of interacting neurons