Photoproduction of π0 mesons on deuterium in the near-threshold energy region