Unraveling the Effects of Size, Composition, and Substrate on the Localized Surface Plasmon Resonance Frequencies of Gold and Silver Nanocubes: A Systematic Single-Particle Approach