An analytical method for predicting the net (thermal plus intrinsic) residual stresses in multilayered yttrium barium copper oxide coated conductors