Doubly resonant Bragg simultons via second-harmonic generation