Influence of Electron-Donating and Electron-Withdrawing Groups on One- and Two-Photon Absorption Properties on Modified Adenine and Guanine Nucleobases