Post-Newtonian hydrodynamic equations using the (3+1) formalism in general relativity