Constrained path Monte Carlo method for fermion ground states