Spectra of adjacency matrices of random geometric graphs