Numerical stability of the finite element immersed boundary method