Calculation of some topological indices of splices and links of graphs