On the eigenvalues and spectral radius of starlike trees