Spectral Ranking with Covariates