Nonparametric estimation of the dependence of a spatial point process on spatial covariates