Spectral characterization of graphs with index at most √{2√5}