Statistical Guarantees for Spectral Methods on Neighborhood Graphs