Weak coupling of the symmetric Galerkin BEM with FEM for potential and elastostatic problems