Indirect stabilization of weakly coupled systems with hybrid boundary conditions