A DFT study of the chemical and optical properties of 7-atom Ag–X [X = Li, Na] nanoalloys for potential applications in opto-electronics and catalysis