Analytical modeling of edge effects on the residual stresses within the film/substrate systems. I. Interfacial stresses