The standard model in noncommutative geometry and fermion doubling