Off-shell effects in electromagnetic reactions on the deuteron