An efficient finite element method for embedded interface problems