Considerations on rescattering effects for threshold photo- and electroproduction of π 0 on the deuteron