Spectral properties of cographs and P5-free graphs