Spectral Shape of Doubly-Generalized LDPC Codes: Efficient and Exact Evaluation