Our friend Charlie Jane Anders at io9 talked with composer Bear Mc Creary (BSG, TSCC, The Cape, The Walking Deads) about some of the most famous science fiction theme tunes, including Star Wars and The Cape for an article titled : Bear McCreary reveals the physics behind your favorite science fiction theme tunes
Interesting.... That's true that there are meaningful musical intervals, and this exists for centuries ! Not only for music scores, but also in classical music and other musical styles.
One of the best books, easy to read and really interesting is Alex Ross' The Rest Is Noise, who writes an great history of 20th century music and its sense. The book speaks a little about this topic, even if it is more focused on classical music than music soundtracks.
So if you want to go further into Bear McCreary's influences...