On graphs with exactly two positive eigenvalues