Quadratic soliton combs in doubly resonant second-harmonic generation