SO(5) symmetry in t-J and hubbard models